From: Sam Steingold Date: Tue, 22 Sep 2009 23:49:10 +0000 (+0000) Subject: (vc-hg-outgoing, vc-hg-incoming): Bind `vc-short-log' for the sake of `vc-hg-log... X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10350 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=00a923843b67f355e2e2543fa592af777c47c8c1;p=emacs.git (vc-hg-outgoing, vc-hg-incoming): Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d7a0790428e..c9c47e46f83 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -3,6 +3,7 @@ * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command' to 1 because hg returns status 1 when nothing is found. + Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'. 2009-09-22 Stefan Monnier diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index e021178624b..9ced663fade 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el @@ -569,14 +569,14 @@ REV is the revision to check out into WORKFILE." (defun vc-hg-outgoing () (interactive) - (let ((bname "*Hg outgoing*")) + (let ((bname "*Hg outgoing*") (vc-short-log nil)) (vc-hg-command bname 1 nil "outgoing" "-n") (pop-to-buffer bname) (vc-hg-outgoing-mode))) (defun vc-hg-incoming () (interactive) - (let ((bname "*Hg incoming*")) + (let ((bname "*Hg incoming*") (vc-short-log nil)) (vc-hg-command bname 0 nil "incoming" "-n") (pop-to-buffer bname) (vc-hg-incoming-mode)))